/*       I am just a fish swimming on the surface of the water, and you happened to discover me      */         
#ifndef    __GUSART__H
#define    __GUSART__H

#ifdef __cplusplus
extern "C" {
#endif


#include "stm32f4xx.h"

#define data_size 100

//typedef Struct
typedef struct{
	__IO unsigned int flag;
	__IO unsigned int len;
	__IO char data[data_size];
}rxDatType;

/* extern variables-----------------------------------------------------------*/
extern rxDatType usart1Dat;
/* extern function prototypes-------------------------------------------------*/
extern void USART_Config(void);
extern void Usart_SendByte(USART_TypeDef * pUSARTx, uint8_t ch);
#ifdef __cplusplus
}
#endif

#endif
/********************************************************
  End Of File
********************************************************/

